﻿#pragma once
#include <QWidget>
#include "SMTBasics.h"
#include "SMTBasicsPrivate.h"
#include "ui_MesQuerySettingPage.h"


class MesQuerySettingPage : public SMTSettingPage
{
	Q_OBJECT

public:
	MesQuerySettingPage(QWidget *parent = Q_NULLPTR);
	~MesQuerySettingPage();

private:
	Ui::MesQuerySettingPage *ui;

	virtual SMTString name()		override;
	virtual void	  initGUI()		override;
	virtual void	  updateGUI()	override;

	private slots:
	void on_txtQueryUrl_textChanged(const QString& text);
	void on_txtTableNum_textChanged(const QString& text);
};

void bindGlobalVariable(SMTVariableArray& availableArray, SMTOperator* opr, int inputParaIdx, SMTRefFormat refFormat);